<?php
/**
 * Created by PhpStorm.
 * User: lee
 * Date: 2018/3/14
 * Time: 下午3:43
 */

use Biz\service\trade\Order as sOrder;

class ModifyMessageAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {
        $orderNo = $this->getRequest()->getPost('order_no');
        $content = $this->getRequest()->getPost('content');

        sOrder::modifyMessage($this->uid, $orderNo, $content);

        $this->setSuccess();
    }
}